//
//  UIImage+Resize.m
//  DailyRecord
//
//  Created by Gin on 2022/4/5.
//

#import "UIImage+Resize.h"

@implementation UIImage (Resize)

- (UIImage *)resizeWithCenter{
    CGSize size = self.size;
    UIImage *img =  [self resizableImageWithCapInsets:UIEdgeInsetsMake(size.height/3.0, size.width/3.0, size.height/3.0, size.width/3.0)];
    return img;
}

@end
